package com.ruoyi.web.domain.dto;

import lombok.Data;

import javax.validation.constraints.NotNull;
import javax.validation.constraints.Pattern;

@Data
public class WorkFormExportDto {
//    @NotNull(message = "baseID不能为空")
    private Long baseId;

    @Pattern(regexp = "^(1|2)$", message = "所选值必须为 省工业运行指挥部办公室 或者 省工业和信息化厅")
    private String type;

    @NotNull(message = "baseIds不能为空")
    private String baseIds;
}
